/*
 * D.cpp
 *
 *  Created on: 2014-2-13
 *      Author: cjrzh
 */

/*define the way using 64bits interger in different OS*/
# ifdef WIN
   #define LL _int64
   #define LD "%I64d"
# else
  #define LL long long
  #define LD "%lld"
# endif
#define PR printf

#include<cstdio>
#include<cstring>
#include<iostream>
#include<cmath>
#include<vector>
#include<map>
#include<set>
#include<stack>
#include<queue>
#include<algorithm>

using namespace std;
int main()
{
	LL a;
	scanf(LD,&a);
	PR(LD"\n",a+1);
	return 0;
}
